<?php

namespace App\Transformers\Encyclopedia;


use Illuminate\Database\Eloquent\Model;
use League\Fractal\TransformerAbstract;

class CategoryTransformer extends TransformerAbstract
{
    public function transform(Model $model)
    {
        return $model->attributesToArray();
    }
}